package com.bjsxt.array;
import java.util.Arrays;

public class TestJavaUtilArray {
    public static void main(String[] args) {
        int[] a ={100,200,300,277,324,103};
        System.out.println(Arrays.toString(a));
        Arrays.sort(a);
        System.out.println(Arrays.toString(a));
        System.out.println(Arrays.binarySearch(a,103));

    }
}
